const router = new VueRouter({
    routes: [
        {
            path: "/main", component: httpVueLoader("components/Main.vue"),
            props: {datas: ["a", "b"], id: "1"}
        }, {
            path: "/workspace", component: httpVueLoader("components/Workspace.vue")
        }, {
            path: "/", redirect: "/main"
        }, {
            path: "/index.html", redirect: "/main"
        }, {
            path: "/index", redirect: "/main"
        }
    ]
});